<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html>
<head>
    <title>Main Menu</title>
    <link rel="stylesheet" type="text/css" href="css/estilos.css"/>	
</head>
<body>
<f:view>
	<h:form>
		<table width="350px;">
			<tr>	
				<td colspan="2" class="celdaTop">
					<h:outputText value="Welcome: "/>
					<c:out value="${sessionScope.username}"/>
				</td>				
			</tr>
			<tr>
				<td><b><h:outputText value="Menu"/></b></td>
				<td></td>
			</tr>
			<tr>
				<td><h:outputText  value="List Users"/></td>
			</tr>			
			<tr>
				<td><h:commandLink action="#{userBean.logout}" value="Log Out"/></td>
				<td></td>
			</tr>			
		</table>
	</h:form>
</f:view>
</body>
</html>